home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / IP_Graph3D / GraphView.h < prev    next >
Encoding:
Text File  |  1991-08-25  |  555 b   |  28 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <appkit/View.h>
  5. #import "typedefs.h"
  6.  
  7. #define PI (3.14159265)
  8.  
  9. @interface GraphView:View
  10. {
  11.     id graphControllerPtr;
  12.     int oldMask;
  13.     float yScale;            /* size of graph */
  14.     int xSize, ySize;        /* size of view  */
  15. }
  16.  
  17. - initFrame:(const NXRect *)r;
  18. - drawSelf:(const NXRect *)r: (int)c;
  19. - drawAxes:(int)theta: (int)phi;
  20. - drawBoundingBox: (int)theta: (int)phi;
  21. - drawGraph:(int)detail:  (int)theta: (int)phi: (bigArray)graphArray;
  22.  
  23. - mouseDown:(NXEvent *)e;
  24. - mouseDragged:(NXEvent *)e;
  25. - mouseUp:(NXEvent *)e;
  26.  
  27. @end
  28.